<div style='max-height:500px;overflow:auto;min-width:850px;'>
    <table class="table table-hover" style="min-width:850px;">
        <tbody>
        {loop $ds $row}
        <tr>
            <td>     {if $row['usedDate']}
                <span class="label label-primary">{$row['usedDate']}</span>

                {if $row['usedDate']==date('Y-m-d')}
                <span class="label label-danger">当前秒杀</span>
                {/if}
                <br/>
                {/if}

                {$row['title']}</td>

            <td>
                {$row['roomcount']}
            </td>
            <td style="width:80px;">
                {if $_GPC['queryfrom']=='diy'}
                <a href="javascript:;" onclick='biz.selector.set(this,{php echo json_encode($row);})'>选择</a>
                {else}
                <a href="javascript:;" onclick='biz.selector_open.set(this,{php echo json_encode($row);})'>选择</a>
                {/if}
            </td>
        </tr>
        {/loop}
        {if count($ds)<=0}
        <tr>
            <td colspan='4' align='center'>未找到秒杀</td>
        </tr>
        {/if}
        </tbody>
    </table>
</div>